-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Remove Item from merger's Node trait #3371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3371 +/- ##
==========================================
- Coverage 85.58% 85.18% -0.41%
==========================================
Files 892 892
Lines 146543 146572 +29
==========================================
- Hits 125413 124851 -562
- Misses 21130 21721 +591 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
This PR removes the associated type
Item
from theNode
trait of the merger mod. It is helpful to support?Size
item of a node.Now the
DataBatch
is a slice of the referencingRecordBatch
.RecordBatch
.RecordBatch
.DataBatchRange
maintains the range of aDataBatch
.This avoids slicing the
RecordBatch
viaRecordBatch::slice()
.Checklist
Refer to a related PR or issue link (optional)